package com.lebang.mapper.buss.multiword;

import com.lebang.model.vo.buss.multiword.Multiword;
import com.lebang.model.vo.buss.multiword.MultiwordSpeech;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface MultiwordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Multiword record);

    int insertSelective(Multiword record);

    Multiword selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Multiword record);

    int updateByPrimaryKey(Multiword record);

    List<Map<String, Object>> findMultiwordList(@Param("userid") String userid,@Param("page") Integer page, @Param("size")Integer size,@Param("brand") String brand);

    List<MultiwordSpeech> getMultiwordSpeech();



    List<Map<String, Object>> selectMultiwordById(Long id);
}